package com.woniuxy.his.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.his.controller.form.AddArrangeForm;
import com.woniuxy.his.entity.Arrange;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.his.vo.ArrangeVo;
import org.apache.ibatis.annotations.Delete;

import java.text.ParseException;
import java.util.Date;

/**
 * <p>
 * 排班表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-24
 */
public interface IArrangeService extends IService<Arrange> {


    Integer delArrange(Integer arrangeId);


    IPage<ArrangeVo> findArrangeByPage(String arrangeTime,Integer current,Integer size);

    Integer addArrange(AddArrangeForm addArrangeForm) throws ParseException;

    IPage<ArrangeVo> findArrangeByPage2(Integer current, Integer size);

    Integer updateArrange(AddArrangeForm addArrangeForm);
}
